using System;
using System.ComponentModel.DataAnnotations;

namespace CSP.Receipts.DataModel
{
    public class Picture
    {
        public int Id { get; set; }
        public DateTime CreationDate { get; set; }

        [StringLength(255)]
        [Required]
        public string Title { get; set; }

        public virtual byte[] Image { get; set; }

        //NavigationProperties
        public int ReceiptId { get; set; }
    }
}
